package com.kakarote.oa.entity.BO;

import com.kakarote.oa.entity.VO.OaLogTemplateFieldVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;

/**
 * @author wwl
 * @date 2022/7/15 14:36
 */
@Data
public class LogSaveBO {

    @ApiModelProperty(value = "填写日志时选择的打印模板id")
    private Long printTemplateId;

    @ApiModelProperty(value = "日志打印的内容")
    private String printContent;

    @ApiModelProperty(value = "不知道干啥的参数")
    private Integer getBulletin;

    @ApiModelProperty(value = "自定义字段与值list")
    private List<OaLogTemplateFieldVO> field = Collections.emptyList();

    // log对象 start
    @ApiModelProperty(value = "日志id")
    private Long logId;

    @ApiModelProperty(value = "日志模板id")
    private Long categoryId;

    @ApiModelProperty(value = "日志标题")
    private String title;

    @ApiModelProperty(value = "日志内容")
    private String content;

    @ApiModelProperty(value = "明日工作内容")
    private String tomorrow;

    @ApiModelProperty(value = "遇到问题")
    private String question;

    @ApiModelProperty(value = "创建人ID")
    private Long createUserId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "通知人")
    private String sendUserIds;

    @ApiModelProperty(value = "通知部门")
    private String sendDeptIds;

    @ApiModelProperty(value = "已读人")
    private String readUserIds;

    @ApiModelProperty(value = "文件批次ID")
    private String batchId;

    

    @ApiModelProperty(value = "修改人ID")
    private Long updateUserId;
    // log对象 end

    // relation 对象 start
    @ApiModelProperty(value = "客户IDs")
    private String customerIds;

    @ApiModelProperty(value = "联系人IDs")
    private String contactsIds;

    @ApiModelProperty(value = "商机IDs")
    private String businessIds;

    @ApiModelProperty(value = "合同IDs")
    private String contractIds;

    @ApiModelProperty(value = "回款ids")
    private String receivablesIds;
    // relation 对象 end

}
